lavc/vaapi_av1: Avoid sending the same slice buffer multiple times
authorDavid Rosca <nowrep@gmail.com>
Wed, 8 May 2024 07:11:13 +0000 (09:11 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 13 Aug 2024 21:04:54 +0000 (23:04 +0200)
commite4bbf4485cd2386c3eff845b9f68cc03aa232bc1
tree93876585ffd5747a6457053926a4236f7fd14ad8
parenta590c58d12a62bc9c2b134737196265113783a34
lavc/vaapi_av1: Avoid sending the same slice buffer multiple times

When there are multiple tiles in one slice buffer, use multiple slice
params to avoid sending the same slice buffer multiple times and thus
increasing the bitstream size the driver will need to upload to hw.

Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: David Rosca <nowrep@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
(cherry picked from commit d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba)

Gbp-Pq: Name 0002-lavc-vaapi_av1-Avoid-sending-the-same-slice-buffer-m.patch
libavcodec/vaapi_av1.c